﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SeaBattle.Domain.Entities
{
    public class Player
    {

        public Player(string name, string login)
        {
            Name = name;
            Login = login;
            //Pwd = pwd;
        }
        /// <summary>
        /// Unique name of the player
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Is Player a winner in current game
        /// </summary>
        public bool Winner { get; set; }

        /// <summary>
        /// The login of the player 
        /// </summary>
        public string Login { get; set; }

        /// <summary>
        /// The password of the player
        /// </summary>
        public string Pwd { get; set; }

        /// <summary>
        /// Count of games, which the player played
        /// </summary>
        public int GameCounter { get; set; }

        /// <summary>
        /// Represent coolness of the player
        /// </summary>
        public int Rank { get; set; }

        /// <summary>
        /// Games, playing by the player now
        /// </summary>
        public Game[] Games { get; set; }



    }
}
